home *** CD-ROM | disk | FTP | other *** search
- BlockInput.bas - How to block a window (when busy)
- ========================================================
-
- Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
-
- This is a variant on the Commodore example "Using a requester to block window
- input" taken from the Libraries RKM p.207.
-
- The example shows how to use a requester to block input from the user whilst
- the application is busy. Busy pointer handling is split off into a separate
- file BLib/BusyPointer.bas; this code can be reused in any program which needs
- a busy pointer. For Workbench before 3.0 it simply allocates the imagery for
- a standard busy pointer (as shown in the Amiga User Interface Style Guide),
- or for versions of Workbench after 3.0 uses the built in busy pointer
- handling.
-
- The example will work on all non-obsolete versions of Workbench (V33 and
- above).
-
- Compiling
- ---------
- Load the BlockInput_inc.bh file and Tokenise it (Program-Tokenise), making
- sure you have no token file selected in the File Options (Settings-Compiler-
- Files). Once you have your token file, set the File Options-Token File setting
- to the BlockInput_inc.t file just created. Load the BlockInput.bas file,
- compile & run it.
-